﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ScrumBoard
{
  public class TaskVM : ViewModelBase
  {
    public string Name
    {
      get { return _Name; }
      set
      {
        if (_Name != value)
        {
          _Name = value;
          RaisePropertyChanged("Name");
        }
      }
    }
    private string _Name;

    public TaskState State
    {
      get { return _State; }
      set
      {
        if (_State != value)
        {
          _State = value;
          RaisePropertyChanged("State");
        }
      }
    }
    private TaskState _State = TaskState.ToDo;

    public Color Background
    {
      get { return _Background; }
      set
      {
        if (_Background != value)
        {
          _Background = value;
          RaisePropertyChanged("Background");
        }
      }
    }
    private Color _Background;


    public string TeamMember
    {
      get { return _TeamMember; }
      set
      {
        if (_TeamMember != value)
        {
          _TeamMember = value;
          RaisePropertyChanged("TeamMember");
        }
      }
    }
    private string _TeamMember = "Liero";

    public int OrderNumber
    {
      get { return _OrderNumber; }
      set
      {
        if (_OrderNumber != value)
        {
          _OrderNumber = value;
          RaisePropertyChanged("OrderNumber");
        }
      }
    }
    private int _OrderNumber;


    

    public string EstimatedTime
    {
      get { return _EstimatedTime; }
      set
      {
        if (_EstimatedTime != value)
        {
          _EstimatedTime = value;
          RaisePropertyChanged("EstimatedTime");
        }
      }
    }
    private string _EstimatedTime = "8";
    
  }
}
